var testConfig = require('../testConfig');
function TestProject() {
  this.init = function () {
    var arr = [];
    arr.push(
      this.step1,
      this.step2,
       this.step3,
       this.step4
    );
    testConfig.testFun.runStep(arr);
  };
  this.step1 = function () {
    $("#aside-nav").find("div.coords").eq(5).find("a")[0].click();
  };
  this.step2 = function () {
    $("#aside-nav").find("#collapse6 li:nth-child(2) .second_lv_li")[0].click();
  };
  this.step3 = function () {
    testConfig.testFun.ai().find("input[data-name='serializedIds']").val("CG20170811295680");
  };
  this.step4 = function () {
    testConfig.testFun.ai().find("#searchBuy").click();
  };
}
function testStart() {
  var test = new TestProject();
  test.init();
}
exports.start = testStart;
